package com.woniuxy.rdbc.service.imp;

import com.woniuxy.rdbc.entity.SysDept;
import com.woniuxy.rdbc.mapper.SysDeptMapper;
import com.woniuxy.rdbc.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {
    @Resource
    private SysDeptMapper sysDeptMapper;
    @Override
    public List<SysDept> selectAll() {
        return sysDeptMapper.selectAll();
    }
}
